package org.xhy.quickstarter.authority.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.xhy.quickstarter.authority.entity.Permission;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author B站-xhyOVO
 * @since 2022-06-04
 */
public interface PermissionService extends IService<Permission> {

    Map<String, Object> initMenu(Integer userId);


    List<Permission> treeSelect();


    void removeMenu(Integer id);
}
